package com.hnust.cleveroom;

import com.cleveroom.core.KLWCommunicater;
import com.cleveroom.interfaces.ILoger;
import lombok.extern.slf4j.Slf4j;
import org.springframework.boot.autoconfigure.condition.ConditionalOnMissingBean;
import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration;

/**
 * 创建人：zhangRuWang
 * 创建时间：2022/4/9
 * 描述：
 */
@Slf4j
public class CleveroomLogger implements ILoger {
    @Override
    public void setClass(Object o) {

    }

    @Override
    public void debug(String s) {
        log.debug(s);
    }

    @Override
    public void debug(String s, Throwable throwable) {
        log.debug(s);
    }

    @Override
    public void error(String s) {
        log.error(s);
    }

    @Override
    public void error(String s, Throwable throwable) {
        log.error(s);
    }

}
